package GUI;

import javax.swing.ImageIcon;
import javax.swing.JDialog;
import javax.swing.JLabel;
import java.awt.Color;
import java.awt.Point;
import java.awt.Font;
import javax.swing.SwingConstants;
import java.awt.Dimension;

public class AboutWindow extends JDialog {
	public AboutWindow() {
		setPreferredSize(new Dimension(755, 387));
		setMinimumSize(new Dimension(755, 387));
		setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
		ImageIcon icon = new ImageIcon(getClass().getResource("/fuzzy2.png"));
		setTitle("About");
		setResizable(false);
		setLocation(new Point(200, 200));
		getContentPane().setLayout(null);
		
		JLabel image = new JLabel("");
		image.setBackground(Color.WHITE);
		image.setBounds(0, 0, 360, 360);
		image.setIcon(icon);
		getContentPane().add(image);
		
		JLabel lblExtendedFuzzyClustering = new JLabel("Extended Fuzzy Clustering for");
		lblExtendedFuzzyClustering.setHorizontalTextPosition(SwingConstants.CENTER);
		lblExtendedFuzzyClustering.setHorizontalAlignment(SwingConstants.CENTER);
		lblExtendedFuzzyClustering.setFont(new Font("Times New Roman", Font.BOLD | Font.ITALIC, 22));
		lblExtendedFuzzyClustering.setBounds(370, 11, 357, 27);
		getContentPane().add(lblExtendedFuzzyClustering);
		
		JLabel lblProteinproteinInteractionNetworks = new JLabel("Protein-Protein Interaction Networks");
		lblProteinproteinInteractionNetworks.setHorizontalAlignment(SwingConstants.CENTER);
		lblProteinproteinInteractionNetworks.setHorizontalTextPosition(SwingConstants.CENTER);
		lblProteinproteinInteractionNetworks.setFont(new Font("Times New Roman", Font.BOLD | Font.ITALIC, 22));
		lblProteinproteinInteractionNetworks.setBounds(370, 45, 357, 23);
		getContentPane().add(lblProteinproteinInteractionNetworks);
		
		JLabel lblDevelopedBy = new JLabel("Developed by:");
		lblDevelopedBy.setFont(new Font("Verdana", Font.BOLD, 14));
		lblDevelopedBy.setBounds(384, 134, 126, 23);
		getContentPane().add(lblDevelopedBy);
		
		JLabel lblMotyDrimer = new JLabel("Moty Drimer");
		lblMotyDrimer.setFont(new Font("Verdana", Font.PLAIN, 13));
		lblMotyDrimer.setBounds(404, 162, 126, 23);
		getContentPane().add(lblMotyDrimer);
		
		JLabel lblVladiIsakov = new JLabel("Vladi Isakov");
		lblVladiIsakov.setFont(new Font("Verdana", Font.PLAIN, 13));
		lblVladiIsakov.setBounds(404, 183, 126, 23);
		getContentPane().add(lblVladiIsakov);
		
		JLabel lblSupervisorDrNissan = new JLabel("Dr. Nissan Lev-Tov");
		lblSupervisorDrNissan.setFont(new Font("Verdana", Font.PLAIN, 13));
		lblSupervisorDrNissan.setBounds(495, 209, 148, 23);
		getContentPane().add(lblSupervisorDrNissan);
		
		JLabel lblSupervisor = new JLabel("Supervisor: ");
		lblSupervisor.setFont(new Font("Verdana", Font.BOLD, 13));
		lblSupervisor.setBounds(404, 209, 94, 23);
		getContentPane().add(lblSupervisor);
		
		JLabel lblOrtBraudeCollege = new JLabel("Ort Braude College, Department of Software Engineering");
		lblOrtBraudeCollege.setFont(new Font("Verdana", Font.PLAIN, 12));
		lblOrtBraudeCollege.setBounds(370, 334, 366, 14);
		getContentPane().add(lblOrtBraudeCollege);
	}
}
